{{extends file="admin/admin_header.tpl"}}
{{block name="content"}}
<h3>内容管理</h3>
<div class="col-sm-3 content-sidebar">
	{{include file="admin/tree.tpl"}}
</div>
<div class="col-sm-9 content-main">
	<form action="{{site_url('document/StoreTeacher')}}" method="post" enctype="multipart/form-data">
		<input type="hidden" name="Method" value="{{$Method}}"/>
		<input type="hidden" name="Id" value="{{$teacher.0.Id}}">
		<div class="form-group">
			<label>姓名：</label>
			<input class="form-control" name="Name" value="{{$teacher.0.Name}}">
		</div>
		<div class="form-group">
			<label>职称：</label>
			<select name="JobTitle" class="form-control">
				<option value="博士生导师" {{if $teacher.0.JobTitle=="博士生导师"}}selected='selected'{{/if}} >博士生导师</option>
				<option value="教授" {{if $teacher.0.JobTitle=="教授"}}selected='selected'{{/if}} >教授</option>
				<option value="研究员" {{if $teacher.0.JobTitle=="研究员"}}selected='selected'{{/if}} >研究员</option>
				<option value="高级工程师" {{if $teacher.0.JobTitle=="高级工程师"}}selected='selected'{{/if}} >高级工程师</option>
				<option value="副研究员" {{if $teacher.0.JobTitle=="副研究员"}}selected='selected'{{/if}} >副研究员</option>
				<option value="副教授" {{if $teacher.0.JobTitle=="副教授"}}selected='selected'{{/if}} >副教授</option>
				<option value="工程师" {{if $teacher.0.JobTitle=="工程师"}}selected='selected'{{/if}} >工程师</option>
				<option value="讲师" {{if $teacher.0.JobTitle=="讲师"}}selected='selected'{{/if}} >讲师</option>
				<option value="讲师" {{if $teacher.0.JobTitle=="讲师"}}selected='selected'{{/if}} >助理工程师</option>
				<option value="助教" {{if $teacher.0.JobTitle=="助教"}}selected='selected'{{/if}} >助教</option>
			</select>
		</div>
		<div class="form-group">
			<label>杰出人才：</label>
			<select name="Outstanding" class="form-control">
				<option value="无" {{if $teacher.0.Outstanding=="无"}}selected='selected'{{/if}} >无</option>
				{{foreach $outstanding as $out }}
				<option value="{{h($out.Title)}}" {{if $teacher.0.Outstanding=="{{$out.Title}}"}}selected='selected'{{/if}} >{{$out.Title}}</option>
				{{/foreach}}
			</select>
		</div>
		<div class="form-group">
			<label>是否博士后：</label>
			<select name="IsDoctor" class="form-control">
				<option value="0" {{if $teacher.0.JobTitle=="0"}}selected='selected'{{/if}} >否</option>
				<option value="1" {{if $teacher.0.JobTitle=="1"}}selected='selected'{{/if}} >是</option>
			</select>
		</div>
		<div class="form-group">
			<label>学历：</label>
			<input class="form-control" name="Education" value="{{$teacher.0.Education}}">
		</div>
		<div class="form-group">
			<label>系别：</label>
			<select name="Department" class="form-control">
				<option value="机械工程系" {{if $teacher.0.Department=="机械工程系"}}selected='selected'{{/if}} >机械工程系</option>
				<option value="工业工程系" {{if $teacher.0.Department=="工业工程系"}}selected='selected'{{/if}} >工业工程系</option>
				<option value="电力电子系" {{if $teacher.0.Department=="电力电子系"}}selected='selected'{{/if}} >电力电子系</option>
				<option value="工程训练中心" {{if $teacher.0.Department=="工程训练中心"}}selected='selected'{{/if}} >工程训练中心(学院教学示范中心)</option>
			</select>
		</div>
		<div class="form-group">
			<label>Email：</label>
			<input class="form-control" name="Email" value="{{$teacher.0.Email}}">
		</div>
		<div class="form-group">
			<label>电话：</label>
			<input class="form-control" name="Phone" value="{{$teacher.0.Phone}}">
		</div>
		<div class="form-group">
			<label>所属栏目：</label>
			<select name="Pid" class="form-control">
				{{foreach $lastcate as $c}}
				<option value="{{$c.Id}}" {{if $teacher.0.Pid==$c.Id}}selected='selected'{{/if}} >{{$c.CateName}}</option>
				{{/foreach}}
			</select>
		</div>
		<div class="form-group">
			<label>上传教师图片：<span style="color:red;">尺寸：</span></label>
			<div class="buttonHolder">
				<input type="file" onchange="imageUploaded()" name="Image">
				<div class="button-mask imageUploaded">选择图片</div>
			</div>
		</div>
		<div class="form-group">
			<label>个人经历：<span style="color:red;">(推荐样式：字体：微软雅黑；字号：14px；行间距：2；)</span></label>
			<textarea id="Experience" name="Experience">{{$teacher.0.Experience}}</textarea>
		</div>
		<div class="form-group">
			<label>科研工作：<span style="color:red;">(推荐样式：字体：微软雅黑；字号：14px；行间距：2；)</span></label>
			<textarea id="Research" name="Research">{{$teacher.0.Research}}</textarea>
		</div>
		<div class="form-group">
			<label>教学工作：<span style="color:red;">(推荐样式：字体：微软雅黑；字号：14px；行间距：2；)</span></label>
			<textarea id="Description" name="Description">{{$teacher.0.Description}}</textarea>
		</div>
		<div class="form-group">
			<label>其他获奖：<span style="color:red;">(推荐样式：字体：微软雅黑；字号：14px；行间距：2；)</span></label>
			<textarea id="Prize" name="Prize">{{$teacher.0.Prize}}</textarea>
		</div>
		<div class="submitHolder">
			<input type="submit" value="提交" class="document-edit-submit">
		</div>
	</form>
</div>
{{/block}}


